<?php
class ColumnMap
{
	private $data;
	
	public function __construct($type)
	{
		switch($type)
		{
			case 'mysql':
				$this->data = new MySQLColumnMap();
				break;
		}
	}
	
	public function __get($name)
	{
		if(property_exists($this->data, $name))
			return $this->data->$name;
	}
}

class MySQLColumnMap
{
	public $string   = 'varchar';
	public $integer  = 'integer';
	public $textarea = 'text';
	public $float    = 'float';
	public $decimal  = 'decimal';
	public $uuid     = 'char';
}

?>